package com.example.mybatisplusdemo.service;

import com.example.mybatisplusdemo.model.domain.Rating;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplusdemo.model.dto.StarCountDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxp
 * @since 2025-07-04
 */
public interface IRatingService extends IService<Rating> {

    void deleteByReviewId(Long reviewId);

    List<StarCountDTO> getRatingDistribution();
}
